<?php
session_start(); //开启session
//判断逻辑
if (($_POST['username'] == "易丹丹") && ($_POST['pwd'] == "123")) {
	$_SESSION['username'] = $_POST['username'];
	$_SESSION['pwd'] = $_POST['pwd'];
	header("location:guess.php");
} else {
	header("location:login.php");
}
?>